Skip to content

Unify Python wheels with JavaScript releases - #100

Merged
leileizhang (lei9444) merged 1 commit into
mainfrom
feat/unified-python-release
Aug 18, 2026
Merged

Unify Python wheels with JavaScript releases#100
leileizhang (lei9444) merged 1 commit into
mainfrom
feat/unified-python-release

Conversation

@lei9444

Copy link
Copy Markdown
Contributor

Summary

  • publish the Python runtime as dynwinrt with import dynwinrt, while keeping dynwinrt-codegen as the generator package
  • derive Python artifact versions from ordinary v* release tags and normalize preview versions through PEP 440
  • attach the complete tested Python wheel set to the existing JavaScript GitHub Release instead of creating a separate Python release
  • update generated imports, package dependencies, samples, CI, coverage, snapshots, and release documentation for the new package name

Validation

  • cargo test -p dynwinrt-codegen -p dynwinrt-py
  • Python binding pytest suite and mypy.stubtest dynwinrt
  • cross-language E2E: Python 41/41, TypeScript 37/37, COM 16/16
  • built, verified, and consumed ARM64 runtime/codegen wheels for both 0.1.0 and simulated 0.1.0-preview.20 (0.1.0rc20 in wheel metadata)

Publish the Python runtime as dynwinrt, update generated imports, and attach tested wheels to ordinary v-tag GitHub releases using tag-derived versions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ffc13440-4470-4483-b896-abf263588d05
@github-actions

Copy link
Copy Markdown

Mixed-language test coverage

Workflow status: ✅ Passed

Layer Lines Functions Branches/regions
Rust, including native .pyd/.node 81.04% 77.47% 80.96% regions
Generated Python projections 77.01% n/a 62.35% branches
JavaScript aggregate 18.77% 20.83% 52.26% branches
JavaScript runtime 19.91% 14.28% 7.14% branches
Generated WinRT projections 22.27% 20.02% 52.85% branches
Generated Classic COM projections 12.97% 23.45% 52.17% branches

View workflow run and download full HTML/LCOV/XML reports

@lei9444
leileizhang (lei9444) merged commit 7e996d1 into main Aug 18, 2026
25 checks passed
@lei9444
leileizhang (lei9444) deleted the feat/unified-python-release branch August 18, 2026 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants